#ifndef CATEGORYSELECTDIALOG_H
#define CATEGORYSELECTDIALOG_H

#include <QtGui/QDialog>
#include "database.h"

namespace Ui {
    class CategorySelectDialog;
}

namespace acidone
{

class CategorySelectDialog : public QDialog
{
    Q_OBJECT

public:
	explicit CategorySelectDialog(Database::Categories categories,
								  Database::Categories selectedCategories,
								  QWidget *parent = 0);
    ~CategorySelectDialog();

	Database::Categories selectedCategories() const;

public slots:
	void accept();

private:
    Ui::CategorySelectDialog *ui;

	Database::Categories m_selectedCategories;
};

}

#endif // CATEGORYSELECTDIALOG_H
